/******************************************************************************
* File description: MaintenanceYingGuang2BeiJingPianCha.qml
* Function: 维护-荧光检测：背景偏差
* Current Version: 1.0.0
* Author: 张宇轩
* Date: 2024-08-29
*  -----
*  Copyright by 博坤生物 .
 *****************************************************************************/
import QtQuick 2.14
import QtQuick.Controls 2.14
import QtQuick.Layouts 1.14

Item {
    id: root

    /* property 定义开始 */

    /* property 定义结束 */

    ColumnLayout {
        id: container
        anchors {
            fill: parent
            topMargin: 16
            bottomMargin: 32
        }

        // 按钮部分
        Item {
            id: btnsContainer
            Layout.fillWidth: true
            Layout.preferredHeight: 40
            Layout.rightMargin: 16

            RowLayout {
                id: btnsConLayout
                anchors.fill: parent

                CustomHorSpacerItem {}

                // 保存
                PureButton {
                    id: saveBtn
                    Layout.preferredWidth: 120
                    Layout.preferredHeight: 40
                    pureBtnColor: "#FF2F42CD"
                    pureHoveredColor: "#FF2F42CD"
                    pureLabelColor: "#FFFFFFFF"
                    pureFontHoveredColor: "#FFFFFFFF"
                    pureBtnBorderColor: "transparent"
                    pureText: "保存"
                    disabledPureBtnColor: "#FFF5F5F5"
                    disabledPureBtnBorderColor: "#FFD9D9D9"
                    disabledPureLabelColor: "#FFBFBFBF"
                    // 关闭过渡效果
                    isTransition: false
                }

                // 读取
                PureButton {
                    id: readBtn
                    Layout.preferredWidth: 120
                    Layout.preferredHeight: 40
                    pureBtnColor: "#FF2F42CD"
                    pureHoveredColor: "#FF2F42CD"
                    pureLabelColor: "#FFFFFFFF"
                    pureFontHoveredColor: "#FFFFFFFF"
                    pureBtnBorderColor: "transparent"
                    pureText: "读取"
                    disabledPureBtnColor: "#FFF5F5F5"
                    disabledPureBtnBorderColor: "#FFD9D9D9"
                    disabledPureLabelColor: "#FFBFBFBF"
                    // 关闭过渡效果
                    isTransition: false
                }

                // 导入
                PureButton {
                    id: importBtn
                    Layout.preferredWidth: 120
                    Layout.preferredHeight: 40
                    pureBtnColor: "#FF2F42CD"
                    pureHoveredColor: "#FF2F42CD"
                    pureLabelColor: "#FFFFFFFF"
                    pureFontHoveredColor: "#FFFFFFFF"
                    pureBtnBorderColor: "transparent"
                    pureText: "导入"
                    disabledPureBtnColor: "#FFF5F5F5"
                    disabledPureBtnBorderColor: "#FFD9D9D9"
                    disabledPureLabelColor: "#FFBFBFBF"
                    // 关闭过渡效果
                    isTransition: false
                }

                // 导出
                PureButton {
                    id: exportBtn
                    Layout.preferredWidth: 120
                    Layout.preferredHeight: 40
                    pureBtnColor: "#FF2F42CD"
                    pureHoveredColor: "#FF2F42CD"
                    pureLabelColor: "#FFFFFFFF"
                    pureFontHoveredColor: "#FFFFFFFF"
                    pureBtnBorderColor: "transparent"
                    pureText: "导出"
                    disabledPureBtnColor: "#FFF5F5F5"
                    disabledPureBtnBorderColor: "#FFD9D9D9"
                    disabledPureLabelColor: "#FFBFBFBF"
                    // 关闭过渡效果
                    isTransition: false
                }
            }
        }

        // 表格部分
        MaintenanceYingGuang2BeiJingPianChaTable {
            id: beiJingPianChatable
            Layout.fillWidth: true
            Layout.fillHeight: true
        }
    }
}
